W1. Direction Fields and Isoclines
1. Theory
A differential equation is an equation that relates an unknown function with one or more of its derivatives. Whenever a quantity changes — a falling body accelerates, a population grows, a cup of coffee cools — the law governing it connects the quantity to the rate of its change, and that connection is a differential equation. This chapter builds the language of the whole course: how applied problems become equations (1.1), how equations are classified (1.2), and how solutions can be seen geometrically without solving anything (1.3–1.4).
1.1 Applied Problems Leading to Differential Equations
Applying mathematics to a real problem means translating it into formulas — constructing a mathematical model. The model is always simpler than reality: for a falling object we ignore air resistance details and the pull of distant planets; for a population we pretend growth is continuous rather than birth-by-birth. A good model has exactly two properties: it is simple enough to be solvable, and faithful enough that its predictions match observations to a useful accuracy. If predictions disagree with experiment, the assumptions — not the mathematics — get revised.
Physics supplies the raw material: fluid motion, electric current, heat dissipation, seismic waves, population change. In each case some characteristic of the phenomenon is linked to its rate of change, and that link is an equation in derivatives.
- A word of history: the subject is as old as calculus. Newton founded classical mechanics in the Principia (1687); Leibniz, who published calculus first, gave us the term “differential equation” (1676) and the notation
still used today.
Example 1: A Falling Object. A mass
Example 2: Population Dynamics (Malthusian Model). Malthus (1778) assumed births and deaths per capita constant: with birth coefficient
Example 3: Model of a Cooling Cup of Coffee. A body at
1.2 Basic Concepts and Classification of Differential Equations
1.2.1 Ordinary and Partial Differential Equations
Equations split by the number of independent variables. An ordinary differential equation (ODE) involves a function of one variable — e.g. the charge
1.2.2 Order of a Differential Equation
The order is the highest derivative present. A general
1.2.3 Systems of Differential Equations
One equation is often not enough: predators and prey, or coupled circuits, need several unknown functions at once. A system of
1.2.4 Linear and Nonlinear ODEs
An ODE is linear if the unknown and its derivatives appear only to the first power, never multiplied or wrapped in nonlinear functions:
1.2.5 Homogeneous and Nonhomogeneous ODEs
For a linear ODE, look at the right-hand side
1.3 Direction Fields for First-Order Equations
When formulas fail, geometry still works. For
Construction algorithm: pick a region and a grid; fix the segment length
Example (constant slope). For
Example (equilibrium). For falling-body velocity
Example (guessing formulas). For
Advantages: no analytic solution needed; behaviour visible at a glance; equilibria pop out; works for nonlinear equations; easy to read. Limitations: qualitative only, no numbers at specific points; accuracy lives and dies with grid density (a coarse grid misleads); hand-plotting is slow.
1.4 Isoclines
Evaluating
1.4.1 Geometric Solution Algorithm Using Isoclines
- Select representative slopes
(e.g. ). - Plot each curve
. - Draw short slope-
segments along each curve. - Trace smooth integral curves from the initial point, hopping isocline to isocline while staying tangent to the segments; add more isoclines for accuracy.
Example (circles). For
Geometric thinking — fields today, isoclines now — is the first step of the course’s qualitative toolkit: it builds the intuition that later selects solution methods, analyses stability and sanity-checks every model result.
2. Definitions
- Mathematical model: A mathematical formulation of a physical or real-life problem, typically involving equations that relate an unknown function and one or more of its derivatives.
- Differential equation: An equation that contains an unknown function and one or more of its derivatives.
- Ordinary differential equation (ODE): An equation in which the unknown function depends on a single independent variable.
- Partial differential equation (PDE): An equation in which the unknown function depends on several independent variables.
- Order of a differential equation: The order of the highest derivative that appears in the equation.
- System of differential equations: A set involving several unknown functions and their derivatives.
- Autonomous system: A system of differential equations where the right-hand sides do not explicitly depend on the independent variable
. - Linear ODE: An equation where the dependent variable and its derivatives appear in a linear combination with coefficients depending only on the independent variable.
- Nonlinear ODE: A differential equation that is not linear with respect to the unknown function and its derivatives.
- Homogeneous linear ODE: A linear differential equation where every term is a function of the dependent variable or its derivatives, with no term independent of them.
- Nonhomogeneous linear ODE: A linear differential equation that includes an additional term independent of the unknown function and its derivatives.
- Direction field: A collection of short line segments or arrows drawn at grid points in the plane, showing the local slope of solution curves for a first-order ODE.
- Equilibrium solution: A constant solution of a differential equation where the derivative is identically zero, representing a steady-state condition.
- Isocline: A curve in the coordinate plane along which the slope of the direction field of a first-order differential equation is constant.
3. Formulas
- Newton’s Second Law for a Falling Object:
, valid for with mass , gravitational acceleration , and drag coefficient . - Velocity of a Falling Object (Solution):
, where is a constant determined by the initial condition . - Terminal Velocity:
. - Malthusian Population Growth Model:
, where is the net growth rate (with birth rate and death rate ). - Population Growth Solution:
, where is the initial population size at time . - Newton’s Law of Cooling (Heat Transfer):
, where is heat, is the heat transfer coefficient, is surface area, is temperature, and is ambient temperature. - Internal Energy Change:
, where is specific heat capacity, is density, and is volume. - Differential Equation for Cooling:
, where the cooling rate constant is . - General
-th Order ODE: . - Explicit First-Order ODE:
. - System of
First-Order ODEs (Normal Form): for . - General Linear ODE of Order
: , where coefficients and depend only on the independent variable . - Linear Homogeneous ODE:
. - Isocline Equation:
, where is a constant representing the slope of the direction field along the curve.
4. Practice
4.1. Verifying Solution to Falling Object Equation (Lecture 1, Task 1)
Verify by substitution that the function
Click to see the solution
Step 1: Compute the derivative of the proposed solution. Given the function:
Since
Step 2: Substitute
Step 3: Substitute
Distribute the
Step 4: Compare LHS and RHS. Since
Answer: LHS = RHS, so
4.2. Malthusian Population Growth Model (Lecture 1, Task 2)
Solve the initial value problem for the Malthusian population model:
Click to see the solution
Step 1: Separate the variables. Rewrite the equation by moving all terms involving
Step 2: Integrate both sides. Integrate the left side with respect to
Step 3: Solve for
Let
Step 4: Apply the initial condition. Use the initial condition
Substitute
Thus, the unique solution to the initial value problem is:
Answer:
4.3. Equilibrium Solution of a Falling Object (Lecture 1, Task 3)
Find the equilibrium (steady-state) velocity for an object falling under gravity with linear air resistance, governed by the differential equation:
Click to see the solution
Step 1: Define the equilibrium condition. An equilibrium solution occurs when the state of the system does not change over time, meaning the time derivative is zero:
Step 2: Solve for the equilibrium velocity
Step 3: Analyze stability using the direction field properties. From the differential equation:
- If
, then , so the velocity increases. - If
, then , so the velocity decreases.
Step 4: Determine the long-term limit. Because trajectories below
Answer:
4.4. Constructing Isoclines for a Nonlinear ODE (Lecture 1, Task 4)
Find and describe the isoclines for the first-order differential equation:
Click to see the solution
Step 1: Define the isocline equation. An isocline is a curve along which the slope
Step 2: Simplify the equation. Square both sides of the equation:
Step 3: Evaluate specific slope values. * For
Answer: Isoclines are concentric circles